package com.zillion.health.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.zillion.common.annotation.Excel;

import java.util.Date;

/**
 * 自费预约人员信息类
 */
public class SelfCostReserve {
    /**
     * 主键
     */
    private Long id;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String name;

    /**
     * 身份证号
     */
    @Excel(name = "身份证号")
    private String idCard;

    /**
     * 电话
     */
    @Excel(name = "电话")
    private String phone;

    /**
     * 预约医院
     */
    @Excel(name = "预约医院")
    private String reserveHospital;

    /**
     * 预约日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reserveDate;

    /**
     * 预约时间
     */
    @Excel(name = "预约时间")
    private String reserveHour;

    /**
     * 是否单位
     */
    @Excel(name = "是否单位")
    private Integer isUnit;

    /**
     * 单位名称
     */
    @Excel(name = "单位名称")
    private String unitName;

    /**
     * 组织机构代码
     */
    @Excel(name = "组织机构代码")
    private String socialCreditCode;


    /**
     * 民族
     */
    @Excel(name = "民族")
    private String ethnic;

    /**
     * 工种
     */
    @Excel(name = "工种")
    private Integer jobTypeId;

    /**
     * 家庭地址
     */
    @Excel(name = "家庭地址")
    private String address;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getReserveHospital() {
        return reserveHospital;
    }

    public void setReserveHospital(String reserveHospital) {
        this.reserveHospital = reserveHospital;
    }

    public Date getReserveDate() {
        return reserveDate;
    }

    public void setReserveDate(Date reserveDate) {
        this.reserveDate = reserveDate;
    }

    public String getReserveHour() {
        return reserveHour;
    }

    public void setReserveHour(String reserveHour) {
        this.reserveHour = reserveHour;
    }

    public Integer getIsUnit() {
        return isUnit;
    }

    public void setIsUnit(Integer isUnit) {
        this.isUnit = isUnit;
    }

    public String getUnitName() {
        return unitName;
    }

    public void setUnitName(String unitName) {
        this.unitName = unitName;
    }

    public String getSocialCreditCode() {
        return socialCreditCode;
    }

    public void setSocialCreditCode(String socialCreditCode) {
        this.socialCreditCode = socialCreditCode;
    }

    public String getEthnic() {
        return ethnic;
    }

    public void setEthnic(String ethnic) {
        this.ethnic = ethnic;
    }

    public Integer getJobTypeId() {
        return jobTypeId;
    }

    public void setJobTypeId(Integer jobTypeId) {
        this.jobTypeId = jobTypeId;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "SelfCostReserve{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", idCard='" + idCard + '\'' +
                ", phone='" + phone + '\'' +
                ", reserveHospital='" + reserveHospital + '\'' +
                ", reserveDate=" + reserveDate +
                ", reserveHour='" + reserveHour + '\'' +
                ", isUnit=" + isUnit +
                ", unitName='" + unitName + '\'' +
                ", socialCreditCode='" + socialCreditCode + '\'' +
                ", ethnic='" + ethnic + '\'' +
                ", jobTypeId=" + jobTypeId +
                ", address='" + address + '\'' +
                '}';
    }
}
